const express = require('express')
const app = express()
//引入costombq
const costombq = require('./13自定义中间件模块化封装')
app.use(costombq)
app.post('/user',(req,res)=>{
    res.send(req.body)
    console.log(req.body)
})
app.listen(80,() => {
 console.log('http://127.0.0.1')
})